package com.camelot.ccr.system.persistence;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;


/**
 * MatchType entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="t_match_type")

public class MatchType  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String id;
     private String matchTypeName;


    // Constructors

    /** default constructor */
    public MatchType() {
    }

    
    /** full constructor */
    public MatchType(String matchTypeName) {
        this.matchTypeName = matchTypeName;
    }

   
    // Property accessors
    @GenericGenerator(name="generator", strategy="uuid.hex")@Id @GeneratedValue(generator="generator")
    
    @Column(name="id", unique=true, nullable=false, length=50)

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    @Column(name="match_type_name", length=50)

    public String getMatchTypeName() {
        return this.matchTypeName;
    }
    
    public void setMatchTypeName(String matchTypeName) {
        this.matchTypeName = matchTypeName;
    }
   








}